import request from '@/utils/request'

// 查询约会安排列表
export function listArrangement(query) {
  return request({
    url: '/arrangement/arrangement/list',
    method: 'get',
    params: query
  })
}



// 根据用户ID查询用户详细信息
export function getUserInfo(userId) {
  return request({
    url: '/arrangement/arrangement/user/' + userId,
    method: 'get'
  })
}

// 根据红娘ID查询红娘详细信息
export function getMatchmakerInfo(matchmakerId) {
  return request({
    url: '/arrangement/arrangement/matchmaker/' + matchmakerId,
    method: 'get'
  })
}

// 根据申请ID查询牵线申请详细信息
export function getRequestInfo(requestId) {
  return request({
    url: '/arrangement/arrangement/request/' + requestId,
    method: 'get'
  })
}
